import { apiRequest } from "../utils/request";
//登录
export function loginByWxMa(data: any): Promise<commonTypes.ApiResponse<{ token: string; userId: string }>> {
  return apiRequest({
    url: `/user/loginByWxMa`,
    method: "POST",
    data,
  });
}
